package com.hxy.travel.pojo;

import java.io.Serializable;
import java.util.Date;

public class OrderSetting  implements Serializable {

    private Integer id;
    private Date orderDate;
    private int number;
    private int reservations;

    public OrderSetting(){

    }

    public OrderSetting(Date orderDate, int number){
        this.orderDate=orderDate;
        this.number=number;

    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getReservations() {
        return reservations;
    }

    public void setReservations(int reservations) {
        this.reservations = reservations;
    }

    @Override
    public String toString() {
        return "OrderSetting{" +
                "id=" + id +
                ", orderDate=" + orderDate +
                ", number=" + number +
                ", reservations=" + reservations +
                '}';
    }
}
